

package org.itboys.mobile.entity.mysql.product;





import org.itboys.admin.dto.lasted.SundayUploadDto;

import org.itboys.mongodb.entity.BaseMySqlEntity;

import java.math.BigDecimal;
import java.util.List;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 联系方式 ：empty90911@126.com
 * 描述：圣代_商品_实体。如果字段不够请自行扩展。不需要继承此类！！！！！！！！！！！！
 * 当前商品为单规格。如果需要多规格，请自行扩展
 */
public class SundayProduct extends BaseMySqlEntity {
    //基础属性
    private String name;//商品名称
    private String viceName;//商品副标题
    private String number;//商品编号唯一
    private Long categoryId;//分类ID
    private String categoryName;//分类名称，不储存
    private String standard;//商品物规格
    private BigDecimal marketPrice;//市场价。仅作参考
    private BigDecimal price;//零售价（或积分价格）。
    private BigDecimal advancePrice;//预售价
    private String desc;//商品描述。图文
    private String param;//产品参数
    private Integer type;//1主机  2其他（包括控制器，配件）
    private String image;//商品主图
    List<SundayUploadDto> rollImages;//轮播图
    private Integer cartNumber;//以前购物车产品数量
    private Integer saleNumber;//销量
    private Integer status;//状态。0已下架，1已上架
    private Integer isSale;//是否可用售卖
    private Integer store;//库存
    private String brand;//品牌
    private Integer isIndexRecommend;//是否首页推荐。0否，1是
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getViceName() {
        return viceName;
    }

    public void setViceName(String viceName) {
        this.viceName = viceName;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public List<SundayUploadDto> getRollImages() {
        return rollImages;
    }

    public void setRollImages(List<SundayUploadDto> rollImages) {
        this.rollImages = rollImages;
    }

    public Integer getSaleNumber() {
        return saleNumber;
    }

    public void setSaleNumber(Integer saleNumber) {
        this.saleNumber = saleNumber;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public BigDecimal getAdvancePrice() {
        return advancePrice;
    }

    public void setAdvancePrice(BigDecimal advancePrice) {
        this.advancePrice = advancePrice;
    }

    public Integer getIsSale() {
        return isSale;
    }

    public void setIsSale(Integer isSale) {
        this.isSale = isSale;
    }

    public Integer getStore() {
        return store;
    }

    public void setStore(Integer store) {
        this.store = store;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Integer getIsIndexRecommend() {
        return isIndexRecommend;
    }

    public void setIsIndexRecommend(Integer isIndexRecommend) {
        this.isIndexRecommend = isIndexRecommend;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public Integer getCartNumber() {
        return cartNumber;
    }

    public void setCartNumber(Integer cartNumber) {
        this.cartNumber = cartNumber;
    }
}

